﻿#ifndef CROG_DATA_TAB_WIDGET
#define CROG_DATA_TAB_WIDGET
/********************************************************************************
** @ Date:2024/03/06
** @ Author: HanJiaXin
** @ Description:机器人数据展示tab页
** @ Version:1.0.0
** @ ClassName:CRobDataTabWidget
** @ Fun:
********************************************************************************/
#include <QWidget>
#include "ui_CRobDataTabWidget.h"
#include "CRealTimeDataWidget.h"
#include "LogModule.h"
#include "CInspectionListWidget.h"
#include "CTaskListWidget.h"
#include "UBasePanel.h"

class CRobDataTabWidget : public UBasePanel
{
	Q_OBJECT

public:
	CRobDataTabWidget(QWidget *parent = nullptr);
	~CRobDataTabWidget();
protected:
	void init();
private:
	void setStyleSheetFile();//设置界面样式表
	void initConnect();		 //初始化槽函数连接
	void initData();         //初始化界面数据

public slots:
	void slotAddExecLog(SDevExecLog sSDevExecLog);
	void slotDataRefresh();                               //定时器刷新
public:
	CRealTimeDataWidget* m_pRealTimeDataWidget;    //实时数据显示界面
	CInspectionListWidget* m_pInspectionListWidget;//巡检列表显示界面
	CTaskListWidget* m_pTaskListWidget;            //任务列表控件
	QWidget* m_pLogWidget;
private:
	Ui::CRobDataTabWidgetClass ui;
};

#endif